Creates an event group.
OSStatus MPCreateEvent (MPEventID *event);
event
A pointer to a variable of type MPEventID
. On return, the variable contains the ID of the newly created event group.
function result
A result code. See
Result Codes
for a list of possible values.
DISCUSSION
Event groups are created from dynamically allocated internal resources. Other tasks may be competing for these resources so it is possible that this function will not be able to create an event group.